:root {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/流萤.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
  body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #ffffffd5;
  }
  .clock-container {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 6px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5);
    
    margin-bottom: 30px; /* 与指针时钟之间的距离 */
    transform: scale(1.5);
  }
  .clock-display {
    font-size: 48px;
    margin-bottom: 10px;
  }
  .date-display {
    font-size: 24px;
  }
  .analog-clock {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: url(../img/clock.png);
    background-size: cover;
    border: 10px solid #19191964;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5);
  }
  .analog-clock::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    background-color: #571b1bc9;
    border-radius: 50%;
    transform-origin: center bottom;
    transform: translateX(-50%);
  }
  .hour-hand {
    width: 7px;
    height: 33%;
    background-color: #878787; /* 淡一些的颜色 */
  }
  .minute-hand {
    width: 7px;
    height: 43%;
  }
  .second-hand {
    width: 3px;
    height: 47%;
    background-color: #ce6464;
  }